﻿namespace Sidvall.WorkItemManager.UI.ViewModels
{
    public partial class WorkItemCollectionViewModel : Sidvall.WorkItemManager.UI.ViewModels.Core.EntityListViewModelBase<global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection, global::Sidvall.WorkItemManager.UI.Entities.WorkItem>
    {
        protected override string ViewModelResource
        {
            get 
            { 
                return global::Sidvall.WorkItemManager.Data.Model.DomainObjects.WorkItem;
            }
        }

        protected override async System.Threading.Tasks.Task<global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection> SaveItemAsync(global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection item)
        {
            return await item.SaveItemsAsync();
        }
    }
}